
using AutoMapper;
using JYJ.AiYard.StationManagement.TbYardStations;
using JYJ.AiYard.StationManagement.TbYardStations.Dtos;

namespace JYJ.AiYard.StationManagement.TbYardStations.Mapper
{

	/// <summary>
    /// 配置TbYardStation的AutoMapper
    /// </summary>
	internal static class TbYardStationMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbYardStation,TbYardStationListDto>();
            configuration.CreateMap <TbYardStationListDto,TbYardStation>();

            configuration.CreateMap <TbYardStationEditDto,TbYardStation>();
            configuration.CreateMap <TbYardStation,TbYardStationEditDto>();

        }
	}
}
